package com.ruoyi.project.wt.auditDaylogQuery.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.er.domain.PaeaErError;
import com.ruoyi.project.oms.paeaAuBatch.domain.PaeaAuBatch;
import com.ruoyi.project.wt.auditDaylogQuery.domain.WtCheckDaylog;
import com.ruoyi.project.wt.auditDaylogQuery.domain.WtCheckDaylogQuery;

import java.sql.Date;
import java.util.List;

/**
 * 监督日志Service接口
 *
 * @author 魏刚
 * @date 2020-03-18
 */
public interface IWtCheckDaylogService extends IService<WtCheckDaylog>
{
    /**
     * 查询监督日志
     *
     * @param id 监督日志ID
     * @return 监督日志
     */
    public WtCheckDaylog selectWtCheckDaylogById(String id);

    /**
     * 查询监督日志列表
     *
     * @param wtCheckDaylog 监督日志
     * @return 监督日志集合
     */
    public List<WtCheckDaylog> selectWtCheckDaylogList(WtCheckDaylog wtCheckDaylog);

    /**
     * 新增监督日志
     *
     * @param wtCheckDaylog 监督日志
     * @return 结果
     */
    public int insertWtCheckDaylog(WtCheckDaylog wtCheckDaylog);

    /**
     * 修改监督日志
     *
     * @param wtCheckDaylog 监督日志
     * @return 结果
     */
    public int updateWtCheckDaylog(WtCheckDaylog wtCheckDaylog);

    /**
     * 批量删除监督日志
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWtCheckDaylogByIds(String ids);

    /**
     * 删除监督日志信息
     *
     * @param id 监督日志ID
     * @return 结果
     */
    public int deleteWtCheckDaylogById(String id);

    public List<WtCheckDaylog> selectList(WtCheckDaylogQuery wtCheckDaylogQuery);
    public List<WtCheckDaylog> selectCreateList(WtCheckDaylogQuery wtCheckDaylogQuery);

    public int auditing(WtCheckDaylog wtCheckDaylog);
    public int auditingBack(WtCheckDaylog wtCheckDaylog);
    public AjaxResult download(WtCheckDaylog wtCheckDaylog);

    public int addUpdate(WtCheckDaylog wtCheckDaylog);
    public boolean addSave(WtCheckDaylog wtCheckDaylog);
    public String doCheckDayLogExists();
    public String doDateStatistics(WtCheckDaylogQuery wtCheckDaylog);
    public String queryPaeaAuBatchs4OrgId(WtCheckDaylogQuery wtCheckDaylog);
    public List<PaeaAuBatch> queryPaeaAuBatchs4View(WtCheckDaylog wtCheckDaylog);
    public List<PaeaAuBatch> queryRandomPaeaAuBatchs4View(WtCheckDaylog wtCheckDaylog);
    public List<PaeaAuBatch> queryManPaeaAuBatchs4View(WtCheckDaylog wtCheckDaylog);
    public List<PaeaAuBatch> queryRePaeaAuBatchs4View(WtCheckDaylog wtCheckDaylog);
    public List<PaeaErError> queryRegistErrView(WtCheckDaylog wtCheckDaylog);
    public List<PaeaErError> queryDealErrView(WtCheckDaylog wtCheckDaylog);
    public List<PaeaErError> queryRiskErrView(WtCheckDaylog wtCheckDaylog);

}
